<?php

class Application_Form_Ajoutrole extends Zend_Form
{

    public function init()
    {
        /* Form Elements & Other Definitions Here ... */
    	
    	$this->setName("Formulaireajoutrole");
    	
    	$nom = new Zend_Form_Element_Text('idrole');
    	$nom->setLabel('Role');
    	
    	$valider = new Zend_Form_Element_Submit("submit");
    	$valider->setLabel("Ajouter");
    	
    	$this->addElements(array($nom,$valider));
    	$this->setDecorators( array( array('ViewScript', array('viewScript' => 'protypeform.phtml'))));
    	}
    	
    }